import Vue from 'vue'
import Router from 'vue-router'

import Movie from '@/components/Movie/index'
import Cinema from '../components/Cinema/index'
import My from '../components/My/index'
import Total from '../components/common/Total.vue'
import CinemaTotal from '../components/common/CinemaTotal.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Movie',
      component: Movie
    },
    {
      path: '/cinema',
      name: 'Cinema',
      component: Cinema
    },
    {
      path: '/my',
      name: 'My',
      component: My
    },
    {
      path: '/total',
      name: 'Total',
      component: Total
    },
    {
      path: '/ctotal',
      name: 'cTotal',
      component: CinemaTotal
    },
  ]
})
